#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_LoopQuest.nanopb.h"
#ifndef MAX_LOOPQUEST_LOOPQUESTDATA_NUM
#define MAX_LOOPQUEST_LOOPQUESTDATA_NUM 30
#endif

class LoopQuestDesc : public NFI_DESC_TEMPLATE_MACRO(LoopQuestDesc, E_LoopQuest, EOT_CONST_LOOPQUEST_LOOPQUESTDATA_DESC_ID, MAX_LOOPQUEST_LOOPQUESTDATA_NUM)
public:
	LoopQuestDesc();
	virtual ~LoopQuestDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
